package com.tf8.treasure.mapper;

import com.tf8.treasure.entity.ResourceLabel;
import com.tf8.treasure.entity.ResourceLabelExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Repository;

@Mapper
public interface ResourceLabelMapper {
    int countByExample(ResourceLabelExample example);

    int deleteByExample(ResourceLabelExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ResourceLabel record);

    int insertSelective(ResourceLabel record);

    List<ResourceLabel> selectByExample(ResourceLabelExample example);

    ResourceLabel selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ResourceLabel record, @Param("example") ResourceLabelExample example);

    int updateByExample(@Param("record") ResourceLabel record, @Param("example") ResourceLabelExample example);

    int updateByPrimaryKeySelective(ResourceLabel record);

    int updateByPrimaryKey(ResourceLabel record);

    List<ResourceLabel> selectPageByExample(@Param("example") ResourceLabelExample example, @Param("pageable") Pageable pageable);
}